<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!--
 Copyright 2010 Yu Jianrong, All Rights Reserved
 
 Licensed under BSD License.
-->
<head>
    <meta name="viewport" content="user-scalable=0,width=device-width,initial-scale=1.0,maximum-scale=1.0">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <title>iPad Reader</title>
</head>

<body style="font-size:16px;display:block;magin:0px;padding:0px">
    DM5 iPad/iPhone/iPod Touch Reader <br/>
    <br/>
    <b style="font-size:20px;color:red;"> 特别注意：iOS 4.2.1 的浏览器存在一个严重的内存泄漏bug（其实以前也有，但可以想办法绕开，iOS 4.2.1 开始绕不开了），在阅读数十页图片后新图片将无法载入。如果发现图片一直无法显示，可以刷新页面，然后再次启动该阅读器并直接跳转到上次阅读的位置接着看，但再阅读数十页将会出现同样的现象。</b> 
    <br/>
     <br/>
<b>    特点：</b><br/>
    * 非app, iOS设备safari中直接使用<br/>
    * iPad版漫画页面会缩至全屏（当然浏览器的状态栏和地址栏消不掉），不提供手工缩放能力，所以不适用于字太小需要放大阅读的漫画(iPhone/iPod版可缩放页面)<br/>
    * 漫画页面会向后预读3页，如果网络不佳想多预读些请自行修改代码（k&gt;this.page+3 中的 "3"），但注意这会拉长第一页显示时间，而且缓冲页面一般不能超过20页（iOS设备内存有限）<br/>
     <br/>
     <b>     安装方法：</b><br/>
    * 用iOS设备的Safari打开该页面<br/>
    * 选取下面输入框中的所有代码并点击“拷贝”<br/>
    * 点击地址栏上的加号按钮并选择“添加书签”,你可以改一下名字或者就直接用提供的名字，然后点击“存储”将该书签存进去<br/>
    * 点击地址栏上书签按钮打开书签，点击“编辑”，点击刚才加进去的那个书签进行编辑<br/>
    * 用一开始拷贝的代码将该书签的地址部分替换掉（不要粘帖在后面，要把"http://...."整个链接全部替换掉）<br/>
    * 安装完成<br/>
     <br/>
     <b>     使用方法：</b><br/>
    * 进入DM5漫画阅读页面（url以 http://www.dm5.com/Comic/ 开头）<br/>
    * 打开书签，点击你加进去的阅读器条目<br/>
    * 页面会重排成为阅读模式，此时点击页面左边是下一页，右边是上一页，点击中间是控制台<br/>
     <br/>
     <b>     特别功能：</b><br/>
    * 有时候在章节选择页面（url以 http://www.dm5.com/Type.aspx 开头）和主页面，部分章节条目会被一个不可见的广告页面遮住无法点击，这个时候打开书签点击一下该阅读器即可将这个无形的广告删掉，使得下面的链接可以点击<br/>
     <br/>
     <b>     阅读器代码：</b><br/>
    <textarea style="width:300px;height:100px;">javascript:if(window.location.host==="www.dm5.com"&&!/^\/Comic\//.test(window.location.pathname)){var ifs=document.getElementsByTagName("iframe");for(var i=ifs.length-1;i>=0;--i)ifs[i].parentNode.removeChild(ifs[i])}else($___=function(){var _window=window,_document=document,$_=function(a){return _document.getElementById(a)},m=_document.createElement("meta");m.name="viewport";var c_page=0,div_imgs=[],VerticalWritting=!0,Landscape=!1,getPageURL=function(a){return _window.location.href},div_postprocess=function(){},configuration=localStorage.getItem("config")?JSON.parse(localStorage.getItem("config")):{},getCurrentPage,getPageCount,getImgURL,setCurrentPage,getPrevChapter,getNextChapter,parseEngine={"dm5.com":function(){getCurrentPage=function(){return page},getPageCount=function(){return array_img.length-1},getImgURL=function(a){var b=page;page=a,array_img=desMe();var c=uncMe(array_img[page]);page=b;return c},setCurrentPage=function(a){page=a},getPageURL=function(a){var b=new String(_window.location.href);b.indexOf("_page")>-1?b=b.substring(0,b.indexOf("_page")):b.indexOf(".htm")>-1&&(b=b.substring(0,b.indexOf(".htm"))),b+="_page-"+(a+1)+".htm";return b},getPrevChapter=function(){return!1};var a=new String(window.location),b=a.substring(a.indexOf("-")+1,a.indexOf("_")),c="../../tiaozhuan.aspx?cid="+b;getNextChapter=function(){return{text:"",href:c}}},"u17.com":function(){VerticalWritting=!1,getCurrentPage=function(){return u_page},getPageCount=function(){return __htmlURL.length},getImgURL=function(a){var b=__htmlURL[a],c=new XMLHttpRequest;c.open("GET",b,!1),c.send();return/src="([^"]*)"/.exec(eee(/document.write\(eee\('([^']*)'/.exec(c.responseText)[1]))[1]},setCurrentPage=function(a){u_page=a},getPageURL=function(a){return __htmlURL[a]};if(!_window.__htmlURL){u_page=0,__htmlURL=[];var UrlBase=document.body.innerHTML.substr(document.body.innerHTML.indexOf("$('#comicShow')")).match(/location.href=(.*?)\+\$\("#comicShow"\).*?;/)[1];for(var i=0;i<$_("comicShow").options.length;++i)__htmlURL.push(eval(UrlBase)+$_("comicShow").options[i].value+".html"),$_("comicShow").options[i].selected&&(u_page=i)}try{var btns=document.querySelectorAll(".comic_read_top dd.read_btn input"),ChapterInfo={next:!1,prev:!1},nextUrl=String(btns[0].onclick).match(/href='(.*?)'/);nextUrl&&(ChapterInfo.next={text:"",href:nextUrl[1]});var prevUrl=String(btns[1].onclick).match(/href='(.*?)'/);prevUrl&&(ChapterInfo.prev={text:"",href:prevUrl[1]}),getPrevChapter=function(){return ChapterInfo.prev},getNextChapter=function(){return ChapterInfo.next}}catch(E){getPrevChapter=function(){return!1},getNextChapter=function(){return!1}}},"www.boston.com/bigpicture":function(){VerticalWritting=!1,Landscape=!0;if(!_window.__imgs){u_page=0,__imgs=[];var a=_document.getElementsByClassName("bpBoth");for(var b=0;b<a.length;++b){var c=0;try{c=a[b].getElementsByClassName("photoNum")[0].innerText}catch(d){}var e=a[b].getElementsByClassName("bpCaption")[0].innerText;c&&(e=e.substring(c.length)),__imgs.push({url:a[b].getElementsByClassName("bpImage")[0].src,caption:e})}}getCurrentPage=function(){return u_page},getPageCount=function(){return __imgs.length},getImgURL=function(a){return __imgs[a].url},setCurrentPage=function(a){u_page=a},div_postprocess=function(a){a.appendChild(_document.createElement("br")),a.appendChild(_document.createTextNode(__imgs[a.page].caption)),a.loadImg=function(){var a=this;!this.unloaded||(this.unloaded=!1,this.tImg.onload=function(){var b=this.width,c=this.height;a.scrollHeight>690&&(this.height=this.height-(a.scrollHeight-690),this.width=Math.floor(b*this.height/c)),this.onload=null},setTimeout(function(){a.tImg.flink||(a.tImg.flink=getImgURL(a.page)),a.tImg.src=a.tImg.flink},0))}},getPrevChapter=function(){return!1},getNextChapter=function(){return!1}},"www.imanhua.com/comic":function(){getCurrentPage=function(){return iNo-1},getPageCount=function(){return len},getImgURL=function(a){return imanhua_host+encodeURI(pic[a])},setCurrentPage=function(a){iNo=a+1},getPageURL=function(a){return base+"p="+String(a)},getPrevChapter=function(){return!1},getNextChapter=function(){return!1}},"www.cococomic.com/manhua|www.99comic.com/manhua":function(){getCurrentPage=function(){return parseInt(page,10)-1},getPageCount=function(){return datas},getImgURL=function(a){return ServerList[server-1]+arrPicListUrl[a]},setCurrentPage=function(a){page=a+1},getPageURL=function(a){return"?v="+(a+1)+"*s="+server},getPrevChapter=function(){return!1},getNextChapter=function(){return!1}},"manhua.178.com/*.shtml":function(){getCurrentPage=function(){return g_current_page-1},getPageCount=function(){return arr_pages.length},getImgURL=function(a){return"../../imgs/"+arr_pages[a]},setCurrentPage=function(a){g_current_page=a+1},getPageURL=function(a){return generatePageUrl(g_page_base,a+1)};var a={prev:$_("prev_chapter")?{text:$_("prev_chapter").innerText,href:$_("prev_chapter").href}:!1,next:$_("next_chapter")?{text:$_("next_chapter").innerText,href:$_("next_chapter").href}:!1};getPrevChapter=function(){return a.prev},getNextChapter=function(){return a.next}}},formatStr=function(a){var b=arguments,c=0;return a.replace(/%s/g,function(a){++c;return b[c]===undefined?a:b[c]})},loc_RELOAD="Reload",loc_VERTICALWRITTING="Vertical Writting",loc_CURRENTPAGE="Current page:",loc_JUMPTOPAGE="Jump to page",loc_FIRSTPAGE="First page already",loc_LASTPAGE="Last page already",loc_NOPARSER="No support for this page, follwing pages only:\n%s",loc_NEXTCHAPTER="Next Chapter:<br/>%s",loc_PREVCHAPTER="Previous Chapter:<br/>%s",loc_NONEXTCHAPTER="No next chapter",loc_NOPREVCHAPTER="no previous chapter",loc_LANDSCAPEWARNING="Landscape mode only, <br/>please rotate your device!",loc_PORTRAITWARNING="Portrait mode only, <br/>please rotate your device!",loc_RELOAD="重新载入",loc_VERTICALWRITTING="从右向左阅读",loc_CURRENTPAGE="当前页：",loc_JUMPTOPAGE="跳转到：",loc_FIRSTPAGE="已经是第一页了",loc_LASTPAGE="已经是最后一页了",loc_NOPARSER="不能处理该页面，阅读器仅能处理以下页面：\n%s",loc_NEXTCHAPTER="下一章:<br/>%s",loc_PREVCHAPTER="上一章:<br/>%s",loc_NONEXTCHAPTER="没有下一章节",loc_NOPREVCHAPTER="没有上一章节",loc_LANDSCAPEWARNING="本页面仅能在横向模式阅读，请旋转您的设备！",loc_PORTRAITWARNING="本页面仅能在纵向模式阅读，请旋转您的设备！",loc_ANIMATIONENABLE="平滑翻页(实验中)",loc_ANIMATIONWARNING="注意：平滑翻页可能会造成您的Safari浏览器崩溃！\n您确定要打开平滑翻页功能吗？",parserFound=!1;for(var parser in parseEngine)if(RegExp(parser.replace(/\.|\/|\*/g,function(a){return({".":".","/":"/","*":".*"})[a]})).test(_window.location.href)){parserFound=!0,parseEngine[parser]();break}if(!parserFound){var parsers=[];for(var parser in parseEngine)parsers.push.apply(parsers,parser.split("|"));alert(formatStr(loc_NOPARSER,parsers.join("\n")))}else{var setConfig=function(a,b){configuration[a]=b,localStorage.setItem("config",JSON.stringify(configuration))},emptyImageSrc="",imgs=_document.getElementsByTagName("img");for(var i=0;i<imgs.length;++i)imgs[i].src=emptyImageSrc;_window.oldTitle||(oldTitle=_document.title),setTimeout(function(){if(!/iPad/.test(navigator.userAgent)&&localStorage.ReaderDebug!=="debug"){m.content="width=device-width,initial-scale=1.0,maximum-scale=1.5,minimum-scale=0.25",_document.getElementsByTagName("head")[0].appendChild(m),_document.body.innerHTML="";for(i=0;i<getPageCount();++i){var a=_document.createElement("div");a.style.cssText="visibility:hidden;position:absolute;left:0px;top:0px;",a.page=i,a.tImg=new Image,a.tImg.style.cssText="position:absolute;left:0px;top:0px;",a.appendChild(a.tImg),a.unloaded=!0,a.eraseImg=function(){this.unloaded||(this.unloaded=!0,this.tImg.src=emptyImageSrc)},a.loadImg=function(a){var b=this,c=function(){VerticalWritting?setTimeout(function(){_window.scrollTo(b.tImg.width-innerWidth,0)},0):setTimeout(function(){_window.scrollTo(0,0)},0)};this.unloaded?(this.unloaded=!1,this.tImg.onload=function(){a&&c(),this.onload=null},setTimeout(function(){b.tImg.flink||(b.tImg.flink=getImgURL(b.page)),b.tImg.src=b.tImg.flink},0)):a&&c()},a.focusMe=function(){setCurrentPage(this.page),div_imgs[this.page].style.visibility="visible",div_imgs[this.page].loadImg(!0);for(var a=this.page+1;a<div_imgs.length;++a)div_imgs[a].style.visibility="hidden",a>this.page+3?div_imgs[a].eraseImg():div_imgs[a].loadImg(!1);for(var a=this.page-1;a>=0;--a)div_imgs[a].style.visibility="hidden",a<this.page-2?div_imgs[a].eraseImg():div_imgs[a].loadImg(!1)},_document.body.appendChild(a),div_imgs.push(a)}var b=function(){++c_page,c_page>=div_imgs.length?(c_page=div_imgs.length-1,alert("Last page already")):div_imgs[c_page].focusMe()},c=function(){--c_page,c_page<0?(c_page=0,alert("First page already")):div_imgs[c_page].focusMe()};_document.onmouseup=function(a){if(a.target!==_document.documentElement){a.offsetX||(a.offsetX=a.layerX,a.offsetY=a.layerY);if(a.offsetX-scrollX<innerWidth/3)VerticalWritting?b():c();else if(a.offsetX-scrollX>innerWidth*2/3)VerticalWritting?c():b();else{var d=parseInt(prompt("jump to 1-"+div_imgs.length+" page",c_page+1),10);d&&(d>div_imgs.length?alert("maximum "+div_imgs.length+" pages!"):(c_page=d-1,div_imgs[d-1].focusMe()))}}}}else{if(Landscape)var d=1024,e=690,f=768,g=946;else var d=768,e=946,f=1024,g=690;m.content="user-scalable=no,width=device-width,initial-scale=1.0,maximum-scale=1.0",_document.getElementsByTagName("head")[0].appendChild(m),_document.body.innerHTML='<div id="ReaderMain" class="iReader" style="width:'+d+"px;height:"+e+'px;overflow:hidden;position:absolute;">';for(i=0;i<getPageCount();++i){var a=_document.createElement("div");a.style.cssText="background-color:white;visibility:hidden;position:absolute;left:0px;top:0px;width:"+d+"px;height:"+e+"px;overflow-x:hidden;overflow-y:hidden;",a.page=i,a.tImg=new Image,a.appendChild(a.tImg),a.unloaded=!0,a.eraseImg=function(){this.unloaded||(this.unloaded=!0,this.tImg.src=emptyImageSrc)},a.loadImg=function(){var a=this;this.unloaded?(this.unloaded=!1,this.tImg.onload=function(){var b=this.width,c=this.height;c>e&&(this.height=e,this.width=Math.floor(b*e/c)),this.height<10?(this.top=0,this.left=0):(a.setToRight^!VerticalWritting?this.left=this.width<=d?(d-this.width)/2:0:this.left=this.width<=d?(d-this.width)/2:d-this.width,this.top=(e-this.height)/2),this.setTransform(),this.onload=null;for(var f=_document.body.childNodes.length-1;f>=0;--f)_document.body.childNodes[f].className!=="iReader"&&_document.body.removeChild(_document.body.childNodes[f])},this.tImg.setTransform=function(){this.style.webkitTransform="translate("+this.left+"px, "+this.top+"px)"},setTimeout(function(){a.tImg.flink||(a.tImg.flink=getImgURL(a.page)),a.tImg.src=a.tImg.flink},0),this.tImg.style.position="absolute",this.tImg.left=this.tImg.top=0,this.tImg.setTransform()):this.tImg.onload||(this.setToRight^!VerticalWritting?this.tImg.left=this.tImg.width<=d?(d-this.tImg.width)/2:0:this.tImg.left=this.tImg.width<=d?(d-this.tImg.width)/2:d-this.tImg.width,this.tImg.setTransform())},a.focusMe=function(a){setCurrentPage(this.page),$_("currentPage").innerHTML=this.page+1+"/"+getPageCount(),$_("PageJump").value=this.page;try{history.pushState({},this.page+1+"/"+getPageCount()+" "+oldTitle,getPageURL(this.page))}catch(b){}_document.title=this.page+1+"/"+getPageCount()+" "+oldTitle,div_imgs[this.page].style.visibility="visible",div_imgs[this.page].setToRight=a,div_imgs[this.page].loadImg(!0);for(var c=this.page+1;c<div_imgs.length;++c)div_imgs[c].style.visibility="hidden",div_imgs[c].setToRight=!1,c>this.page+3?div_imgs[c].eraseImg():div_imgs[c].loadImg(!1);for(var c=this.page-1;c>=0;--c)div_imgs[c].style.visibility="hidden",div_imgs[c].setToRight=!0,c<this.page-2?div_imgs[c].eraseImg():div_imgs[c].loadImg(!1);div_imgs[this.page].style.webkitTransform="translate(0px,0px)",configuration.SmoothAnimation&&(div_imgs[this.page].style.webkitTransitionProperty="-webkit-transform"),this.page>0&&(div_imgs[this.page-1].style.webkitTransform="translate("+d*(VerticalWritting?1:-1)+"px,0px)"),this.page<div_imgs.length-1&&(div_imgs[this.page+1].style.webkitTransform="translate("+d*(VerticalWritting?-1:1)+"px,0px)")},a.tImg.addEventListener("webkitTransitionEnd",function(){this.style.webkitTransitionProperty="none"},!1),a.tImg.style.webkitTransitionDuration="400ms",a.tImg.style.webkitTransitionProperty="none",a.style.webkitTransitionDuration="400ms",a.style.webkitTransitionProperty="none",a.addEventListener("webkitTransitionEnd",function(){this.style.webkitTransitionProperty="none"},!1),div_postprocess(a),$_("ReaderMain").appendChild(a),div_imgs.push(a)}var h=_document.createElement("div");h.style.cssText="font-size:25px;display:none;position:absolute;left:0px;top:0px;width:"+d+"px;height:"+e+"px;overflow-x:hidden;overflow-y:hidden;z-index:10;background-color:rgba(0,0,0,0.6);",h.enable=!1,$_("ReaderMain").appendChild(h),h.innerHTML=formatStr("<input type='button' id='Reload' style='font-size:25px;position:absolute;top:25%;left:30%;' value='%s' /><label style='position:absolute;top:30%;left:30%;background-color:black;color:white;'><input  type='checkbox' id='VerticalWritting'/>%s</label><div style='font-size:25px;position:absolute;top:35%;left:30%;background-color:black;color:white'>%s<span id='currentPage'></span></div><div style='font-size:25px;position:absolute;top:40%;left:30%;background-color:black;color:white;'>%s<select id='PageJump'></select></div><label style='position:absolute;top:45%;left:30%;background-color:black;color:white;'><input  type='checkbox' id='AnimationEnable'/>%s</label>",loc_RELOAD,loc_VERTICALWRITTING,loc_CURRENTPAGE,loc_JUMPTOPAGE,loc_ANIMATIONENABLE),h.innerHTML+="<div id='_left_chapter_' style='display:table;font-size:25px;position:absolute;left:0px;top:0px;width:25%;height:100%;background-color:rgba(255,0,0,0.5);color:white;'><span id='_left_chapter_text_' style='vertical-align: middle; display: table-cell;' ></span></div>",h.innerHTML+="<div id='_right_chapter_' style='display:table;font-size:25px;position:absolute;left:75%;top:0px;width:25%;height:100%;background-color:rgba(255,0,0,0.5);color:white;'><span id='_right_chapter_text_' style='vertical-align: middle; display: table-cell;' ></span></div>",h.innerHTML+="<div style='font-size:25px;position:absolute;top:90%;left:30%;background-color:black;color:white;'>Version 0.11.04.04.02</div>";var j=function(){var a,b,c,d;VerticalWritting?(a=$_("_left_chapter_"),b=$_("_left_chapter_text_"),c=$_("_right_chapter_"),d=$_("_right_chapter_text_")):(a=$_("_right_chapter_"),b=$_("_right_chapter_text_"),c=$_("_left_chapter_"),d=$_("_left_chapter_text_"));var e=getNextChapter();e?(b.innerHTML=formatStr(loc_NEXTCHAPTER,e.text),a.onclick=function(){location.href=e.href},a.style.visibility="visible"):(b.innerHTML="",a.onclick=null,a.style.visibility="hidden");var f=getPrevChapter();f?(d.innerHTML=formatStr(loc_PREVCHAPTER,f.text),c.onclick=function(){location.href=f.href},c.style.visibility="visible"):(d.innerHTML="",c.onclick=null,c.style.visibility="hidden")};$_("VerticalWritting").checked=VerticalWritting,$_("VerticalWritting").onclick=function(){VerticalWritting=!VerticalWritting,j()},$_("Reload").onclick=function(){$___()};for(i=0;i<getPageCount();++i){var k=_document.createElement("option");k.innerHTML=i+1,k.value=i,$_("PageJump").appendChild(k)}$_("PageJump").onchange=function(){c_page=$_("PageJump").value,div_imgs[c_page].focusMe(),h.enable=!1,h.style.display="none"},$_("AnimationEnable").checked=!!configuration.SmoothAnimation,$_("AnimationEnable").onclick=function(){this.checked&&(confirm(loc_ANIMATIONWARNING)||(this.checked=!1)),setConfig("SmoothAnimation",this.checked)};var l=function(){h.enable=!0,h.style.display="inline",j()},n=_document.createElement("div");n.style.cssText="font-size:25px;visibility:hidden;position:absolute;left:0px;top:0px;width:"+f+"px;height:"+g+"px;overflow-x:hidden;overflow-y:hidden;z-index:20;background-color:rgba(0,0,0,0.6);",n.innerHTML=formatStr("<div style='font-size:25px;position:absolute;top:45%;left:0px;width:100%;background-color:black;color:white;'>%s</div>",Landscape?loc_LANDSCAPEWARNING:loc_PORTRAITWARNING),n.className="iReader",_document.body.appendChild(n);var o=function(){var a=!0;if(_window.hasOwnProperty("orientation"))switch(_window.orientation){case 0:case 180:a=!Landscape;break;case 90:case-90:a=Landscape}a?(n.style.visibility!=="hidden"&&(n.style.visibility="hidden"),n.enable=!1):(n.style.visibility!=="visible"&&(n.style.visibility="visible"),n.enable=!0),window.scrollTo(0,0)};_window.onorientationchange=o,o(),setInterval(o,2500);var p=function(){if(div_imgs[c_page].tImg.left<0){var a=c_page;div_imgs[c_page].tImg.left=0,div_imgs[c_page].tImg.setTransform(),configuration.SmoothAnimation&&(div_imgs[c_page].tImg.style.webkitTransitionProperty="-webkit-transform");return!0}return!1},q=function(){if(div_imgs[c_page].tImg.width>d&&div_imgs[c_page].tImg.left===0){var a=c_page;div_imgs[c_page].tImg.left=d-div_imgs[c_page].tImg.width,div_imgs[c_page].tImg.setTransform(),configuration.SmoothAnimation&&(div_imgs[c_page].tImg.style.webkitTransitionProperty="-webkit-transform");return!0}return!1},c=function(){if(VerticalWritting){if(q())return}else if(p())return;--c_page,c_page<0?(c_page=0,l()):(div_imgs[c_page].focusMe(!0),configuration.SmoothAnimation&&(div_imgs[c_page+1].style.webkitTransitionProperty="-webkit-transform",div_imgs[c_page+1].style.visibility="visible"))},b=function(){if(VerticalWritting){if(p())return}else if(q())return;++c_page,c_page>=div_imgs.length?(c_page=div_imgs.length-1,l()):(div_imgs[c_page].focusMe(),configuration.SmoothAnimation&&(div_imgs[c_page-1].style.webkitTransitionProperty="-webkit-transform",div_imgs[c_page-1].style.visibility="visible"))};navigator.userAgent.indexOf("iPad")!=-1?_document.ontouchstart=function(a){return r(a.touches[0].pageX,a.target)}:_document.onmousedown=function(a){r(a.pageX,a.target)};var r=function(a,e){if(!n.enable){if(h.enable){if(e.tagName==="DIV"){h.enable=!1,h.style.display="none";return!1}return}a<d/4?VerticalWritting?b():c():a>d*3/4?VerticalWritting?c():b():l();return!1}}}c_page=getCurrentPage(),div_imgs[c_page].focusMe()},0)}})()</textarea><br/>
     <a href="javascript:" onclick="document.getElementById('develop').style.display='inline'">二次开发相关</a><br/>
     <div id="develop" style="display:none;background-color:#fee">
         更适于代码阅读排版的源文件：<br/>
         <a href="DM5Reader.js">DM5Reader.js</a><br/>
         请用JS压缩软件（比如YUI compressor: <a href="http://refresh-sf.com/yui/">http://refresh-sf.com/yui/</a>）将代码压缩后加入前缀 "javascript:"即可。
     <br/>
     </div>
     <br/>
     <b>     注意：</b><br/>
    * 阅读器无广告，也不会造成页面刷新，对 dm5 网站并不利，所以 dm5 网站可能在任何时候采用技术手段终止该阅读器的使用（而且最近要改版，改版后应该就不能用了）<br/> 
    * 该阅读器主要为iPad优化，iPhone和iPod touch使用体验不佳(设备太小了……)<br/>
    * 该阅读器在iPad下工作于竖屏模式或横屏模式由站点决定，无法在使用中改变<br/>
    * 原则上不接受任何新特性添加要求（毕竟是自娱自乐用的），如果要改造该阅读器请自行修改代码（有bug的话我还是会修一下的……）<br/>
    * <b>免责申明：本软件作者不对安装和使用该软件所造成的直接或者间接的数据损失或硬件损坏承担责任</b><br/>
<br/>
    <br/>
    <br/>
    <b>更新：</b><br/>
    * 2010-11-28 : 
    <ul>
      <li> 增加 http://www.99comic.com/manhua 支持</li>
      <li> 页码直接显示在标题栏上 </li>
      <li> iPhone/iPod touch 版本点击屏幕中央跳出页面跳转提示框 </li>
      <li> 增加旋转提示界面 </li>
      </ul>
    * 2010-11-9 : 
    <ul>
      <li> 修正iPod Touch版本的一些问题</li>
      </ul>
    * 2010-10-30 : 
    <ul>
      <li> 修正再次刷新页数不对的bug</li>
      <li> 增加控制台，提供控制竖写阅读模式和页面跳转</li>
      <li> 增加 www.imanhua.com支持</li>
      <li> 增加 www.cococomic.com支持</li>
      <li> 增加 manhua.178.com支持</li>
      <li> (之前就有的) u17.com支持</li>
      </ul>
    * 2010-09-26 : 
    <ul>
      <li> 增加 www.boston.com the Big Picture支持</li>
      </ul>
    * 2010-09-14 : 
    <ul>
      <li> 增加iPhone/iPod Touch版本，采用完全不一样的做法</li>
      <li> iPad宽页转换效果增强</li>
      <li> 打开阅读器的时候留在当前页，不跳回第一页</li>
      </ul>

    作者：yujianrong[at]gmail.com<br/>

</body>
</html>
